package com.itheima.a01mymap;

import java.util.LinkedHashMap;

public class A07_LinkedHashMapDemo3 {
    public static void main(String[] args) {
        LinkedHashMap<String,Integer> lhm=new LinkedHashMap<>();

        //添加元素
        lhm.put("a",123);
        lhm.put("a",111);
        lhm.put("b",456);
        lhm.put("c",789);

        System.out.println(lhm);
    }
}
